package com.book.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Book implements Serializable{

    private long bookId;
    private String name;
    private String author;
    private String publish;
    private String isbn;
    private String introduction;
    private String language;
    private BigDecimal price;
    private Date pubdate;
    private int classId;
    private int pressmark;
    private int state;
    private String className;
    private int num;

    public int getNum() {
        return this.num;
    }

    public void setNum(final int num) {
        this.num = num;
    }

    public long getBookId() {
        return this.bookId;
    }

    public void setBookId(final long bookId) {
        this.bookId = bookId;
    }

    public String getName() {
        return this.name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getAuthor() {
        return this.author;
    }

    public void setAuthor(final String author) {
        this.author = author;
    }

    public String getPublish() {
        return this.publish;
    }

    public void setPublish(final String publish) {
        this.publish = publish;
    }

    public String getIsbn() {
        return this.isbn;
    }

    public void setIsbn(final String isbn) {
        this.isbn = isbn;
    }

    public String getIntroduction() {
        return this.introduction;
    }

    public void setIntroduction(final String introduction) {
        this.introduction = introduction;
    }

    public String getLanguage() {
        return this.language;
    }

    public void setLanguage(final String language) {
        this.language = language;
    }

    public BigDecimal getPrice() {
        return this.price;
    }

    public void setPrice(final BigDecimal price) {
        this.price = price;
    }

    public Date getPubdate() {
        return this.pubdate;
    }

    public void setPubdate(final Date pubdate) {
        this.pubdate = pubdate;
    }

    public int getClassId() {
        return this.classId;
    }

    public void setClassId(final int classId) {
        this.classId = classId;
    }

    public int getPressmark() {
        return this.pressmark;
    }

    public void setPressmark(final int pressmark) {
        this.pressmark = pressmark;
    }

    public int getState() {
        return this.state;
    }

    public void setState(final int state) {
        this.state = state;
    }

    public String getClassName() {
        return this.className;
    }

    public void setClassName(final String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return "这本书的信息为"+pressmark+pubdate+bookId+name+author+publish+isbn+introduction+language+price+classId+state;
    }
}
